WP2FA\Admin\SettingsPages\Settings_Page_Policies C

Total Complexity 124
Dependencies 10
Dependents 4
Total lines 933
Lines of code 599
Logical lines of code 276
Comment lines 251
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
validate_and_sanitize()
D
17
73 212
user_profile_settings()
B
34 13 105
render()
A
36 13 89
new_page_created()
A
48 7 32
generate_custom_user_profile_page()
S
51 4 26
update_wp2fa_network_options()
S
51 3 30
get_post_by_post_name()
S
64 4 10
disable_2fa_removal_setting()
S
53 1 29
user_redirect_after_wizard()
S
54 1 25
grace_period_setting()
S
54 1 25
select_method_setting()
S
80 1 3
select_enforcement_policy_setting()
S
80 1 3
excluded_roles_or_users_setting()
S
73 1 7
excluded_network_sites()
S
81 1 3